<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>{%$act_title%} | {%$system_ini.baseset_name%}数字化校园管理平台</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="stylesheet" href="static/css/bootstrap.min.css">
  <link rel="stylesheet" href="static/fontawesome4.5/css/font-awesome.min.css">  
  <link rel="stylesheet" href="static/css/admin.css">
  <link rel="stylesheet" href="static/css/main.css">
  <link rel="stylesheet" href="static/css/jquery-ui.css"><!--日历-->
  <link rel="stylesheet" href="static/css/skin-blue.css">
  <link rel="stylesheet" href="static/css/datepicker3.css">
  <!--<link rel="stylesheet" href="static/css/fullcalendar.min.css">-->
  <link rel="stylesheet" href="static/css/select2.css">
  <link rel="stylesheet" href="static/css/blue.css"><!--邮箱-->
  <link rel="stylesheet" href="static/css/uploadify.css">
  <link rel="stylesheet" href="static/css/jquery.ui.plupload.css" type="text/css" />
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

  <header class="main-header">
    <!-- Logo -->
    <a href="index.php" class="logo">
      <p class="logo-lg" style="margin-top:6px;">{%$system_ini.baseset_name%}数字化校园管理平台
	 <span style="font-size:15px; display:block;">{%$system_ini.baseset_english%}</span></p>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
    	{%if $a=='default.index'%}
          <span style="padding-left:30px; color:#fff;" class="hidden-xs" id="shang"> 
          </span>     
	   {%/if%}
    <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle visible-xs" data-toggle="offcanvas" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>

      <div class="navbar-custom-menu" style="padding-top:6px;">
         <form class="navbar-form navbar-left visible-lg" method="get" action="index.php?a=default.search">
            <div class="form-group">
              <input type="text" name="search" value="{%$things%}" class="form-control" placeholder="搜索">
              <input type="hidden" name="a" value="default.search">
            </div>
            <button type="submit" class="btn btn-default">搜 索</button>
          </form>
        <ul class="nav navbar-nav"  style="margin-right:20px;">
          <!-- Messages: style can be found in dropdown.less-->
          <li class="dropdown messages-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-envelope-o"></i>
              <span class="label label-success">{%$mail_newc%}</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">您有 {%$mail_newc%} 封新邮件</li>
              <li>
                <ul class="menu">
				{%foreach from=$mail_newls key=key item=value%}
                  <li><!-- start message -->
                    <a href="index.php?a=mail.info&mail_id={%$value.mail_id%}">
                      <h4>
                        {%$value.staff_name%}
                        <small><i class="fa fa-clock-o"></i> {%$value.create_time%}</small>
                      </h4>
                      <p>{%$value.mail_title%}</p>
                    </a>
                  </li>
                  <!-- end message -->
				{%/foreach%}
                </ul>
              </li>
              <li class="footer"><a href="index.php?a=mail.list">查看全部</a></li>
            </ul>
          </li>
          <!-- Notifications: style can be found in dropdown.less -->
          <li class="dropdown notifications-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-bell-o"></i>
              <span class="label label-warning">{%$notice_count%}</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header"> 您收到{%$notice_count%}条新通知</li>
              <li>
                <!-- inner menu: contains the actual data -->
                <ul class="menu">
				{%foreach from=$inform_all_three key=key item=value%}
                  <li>
                    <a href="#">
                      <i class="fa fa-bell"></i> {%$value.notice_title%}
                    </a>
                  </li>
				{%/foreach%}
				{%foreach from=$inform_all_two key=key item=value%}
                  <li>
                    <a href="#">
                      <i class="fa fa-bell"></i>{%$value.notice_title%}
                    </a>
                  </li>
				{%/foreach%}
                </ul>
              </li>
              <li class="footer"><a href="index.php?a=notice.commonlist">查看全部</a></li>
            </ul>
          </li>
          <li class="dropdown tasks-menu">
            <a href="index.php?a=baseset.list" class="dropdown-toggle" >
              <span class="glyphicon glyphicon-question-sign"></span>
            </a>
          </li>
          <li>
            <a href="index.php?a=user.logout"><span class="glyphicon glyphicon-remove"></span></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
    <!--面包屑-->
        <section class="content-header" style="padding:0 15px;">
           <ol class="breadcrumb">
					
                <li><a href="index.php?a=default.index"><i class="fa fa-dashboard"></i> 主页</a></li>
				{%foreach from=$menu_nav key=key item=value%}
                <li><a href="{%if $value.fun==""%}#{%else%}index.php?a={%$value.fun%}{%/if%}">{%$value.name%}</a></li>
				{%/foreach%}
           </ol>
        </section>
    <!--面包屑-->